﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000925 RID: 2341
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HKCCGMPCKHK : IMessage<HKCCGMPCKHK>, IMessage, IEquatable<HKCCGMPCKHK>, IDeepCloneable<HKCCGMPCKHK>, IBufferMessage
	{
		// Token: 0x17001DAD RID: 7597
		// (get) Token: 0x0600691B RID: 26907 RVA: 0x0011A690 File Offset: 0x00118890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HKCCGMPCKHK> Parser
		{
			get
			{
				return HKCCGMPCKHK._parser;
			}
		}

		// Token: 0x17001DAE RID: 7598
		// (get) Token: 0x0600691C RID: 26908 RVA: 0x0011A697 File Offset: 0x00118897
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HKCCGMPCKHKReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001DAF RID: 7599
		// (get) Token: 0x0600691D RID: 26909 RVA: 0x0011A6A9 File Offset: 0x001188A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HKCCGMPCKHK.Descriptor;
			}
		}

		// Token: 0x0600691E RID: 26910 RVA: 0x0011A6B0 File Offset: 0x001188B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HKCCGMPCKHK()
		{
		}

		// Token: 0x0600691F RID: 26911 RVA: 0x0011A6B8 File Offset: 0x001188B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HKCCGMPCKHK(HKCCGMPCKHK other) : this()
		{
			this.oMDKFEPPBNK_ = other.oMDKFEPPBNK_;
			this.buffId_ = other.buffId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006920 RID: 26912 RVA: 0x0011A6E9 File Offset: 0x001188E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HKCCGMPCKHK Clone()
		{
			return new HKCCGMPCKHK(this);
		}

		// Token: 0x17001DB0 RID: 7600
		// (get) Token: 0x06006921 RID: 26913 RVA: 0x0011A6F1 File Offset: 0x001188F1
		// (set) Token: 0x06006922 RID: 26914 RVA: 0x0011A6F9 File Offset: 0x001188F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OMDKFEPPBNK
		{
			get
			{
				return this.oMDKFEPPBNK_;
			}
			set
			{
				this.oMDKFEPPBNK_ = value;
			}
		}

		// Token: 0x17001DB1 RID: 7601
		// (get) Token: 0x06006923 RID: 26915 RVA: 0x0011A702 File Offset: 0x00118902
		// (set) Token: 0x06006924 RID: 26916 RVA: 0x0011A70A File Offset: 0x0011890A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BuffId
		{
			get
			{
				return this.buffId_;
			}
			set
			{
				this.buffId_ = value;
			}
		}

		// Token: 0x06006925 RID: 26917 RVA: 0x0011A713 File Offset: 0x00118913
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HKCCGMPCKHK);
		}

		// Token: 0x06006926 RID: 26918 RVA: 0x0011A721 File Offset: 0x00118921
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HKCCGMPCKHK other)
		{
			return other != null && (other == this || (this.OMDKFEPPBNK == other.OMDKFEPPBNK && this.BuffId == other.BuffId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006927 RID: 26919 RVA: 0x0011A760 File Offset: 0x00118960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.OMDKFEPPBNK != 0U)
			{
				num ^= this.OMDKFEPPBNK.GetHashCode();
			}
			if (this.BuffId != 0U)
			{
				num ^= this.BuffId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006928 RID: 26920 RVA: 0x0011A7B8 File Offset: 0x001189B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006929 RID: 26921 RVA: 0x0011A7C0 File Offset: 0x001189C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600692A RID: 26922 RVA: 0x0011A7CC File Offset: 0x001189CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BuffId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.BuffId);
			}
			if (this.OMDKFEPPBNK != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.OMDKFEPPBNK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600692B RID: 26923 RVA: 0x0011A828 File Offset: 0x00118A28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.OMDKFEPPBNK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OMDKFEPPBNK);
			}
			if (this.BuffId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BuffId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600692C RID: 26924 RVA: 0x0011A880 File Offset: 0x00118A80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HKCCGMPCKHK other)
		{
			if (other == null)
			{
				return;
			}
			if (other.OMDKFEPPBNK != 0U)
			{
				this.OMDKFEPPBNK = other.OMDKFEPPBNK;
			}
			if (other.BuffId != 0U)
			{
				this.BuffId = other.BuffId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600692D RID: 26925 RVA: 0x0011A8D0 File Offset: 0x00118AD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600692E RID: 26926 RVA: 0x0011A8DC File Offset: 0x00118ADC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.OMDKFEPPBNK = input.ReadUInt32();
					}
				}
				else
				{
					this.BuffId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002813 RID: 10259
		private static readonly MessageParser<HKCCGMPCKHK> _parser = new MessageParser<HKCCGMPCKHK>(() => new HKCCGMPCKHK());

		// Token: 0x04002814 RID: 10260
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002815 RID: 10261
		public const int OMDKFEPPBNKFieldNumber = 15;

		// Token: 0x04002816 RID: 10262
		private uint oMDKFEPPBNK_;

		// Token: 0x04002817 RID: 10263
		public const int BuffIdFieldNumber = 2;

		// Token: 0x04002818 RID: 10264
		private uint buffId_;
	}
}
